package example.fileTest.example1;

import java.io.File;

public class CompareToFile {
	public static void main(String args[]){
		File fileOne = new File("C:/HaxLogs.txt");
		File fileTwo = new File("C:/mysql.txt");
		
		if(fileOne.compareTo(fileTwo) == 0){
			System.out.println("Both paths are same!");
		}else{
			System.out.println("Paths are not same!");
		}
	}
}
